add_rules("mode.debug", "mode.release")

set_policy("check.auto_ignore_flags", false)

set_warnings("all")

add_requires("fltk")

target("OhScrCpy")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("fltk")
    add_ldflags("-static")
    add_includedirs("include")

    if (is_plat("mingw")) then 
        add_defines("_WIN32_")
    end
target_end()